package com.sdry.entity;

import java.util.ArrayList;
import java.util.List;

public class PartComponentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PartComponentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andComponentIdIsNull() {
            addCriterion("component_id is null");
            return (Criteria) this;
        }

        public Criteria andComponentIdIsNotNull() {
            addCriterion("component_id is not null");
            return (Criteria) this;
        }

        public Criteria andComponentIdEqualTo(Long value) {
            addCriterion("component_id =", value, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdNotEqualTo(Long value) {
            addCriterion("component_id <>", value, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdGreaterThan(Long value) {
            addCriterion("component_id >", value, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("component_id >=", value, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdLessThan(Long value) {
            addCriterion("component_id <", value, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdLessThanOrEqualTo(Long value) {
            addCriterion("component_id <=", value, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdIn(List<Long> values) {
            addCriterion("component_id in", values, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdNotIn(List<Long> values) {
            addCriterion("component_id not in", values, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdBetween(Long value1, Long value2) {
            addCriterion("component_id between", value1, value2, "componentId");
            return (Criteria) this;
        }

        public Criteria andComponentIdNotBetween(Long value1, Long value2) {
            addCriterion("component_id not between", value1, value2, "componentId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNull() {
            addCriterion("staff_id is null");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNotNull() {
            addCriterion("staff_id is not null");
            return (Criteria) this;
        }

        public Criteria andStaffIdEqualTo(Long value) {
            addCriterion("staff_id =", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotEqualTo(Long value) {
            addCriterion("staff_id <>", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThan(Long value) {
            addCriterion("staff_id >", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThanOrEqualTo(Long value) {
            addCriterion("staff_id >=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThan(Long value) {
            addCriterion("staff_id <", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThanOrEqualTo(Long value) {
            addCriterion("staff_id <=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdIn(List<Long> values) {
            addCriterion("staff_id in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotIn(List<Long> values) {
            addCriterion("staff_id not in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdBetween(Long value1, Long value2) {
            addCriterion("staff_id between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotBetween(Long value1, Long value2) {
            addCriterion("staff_id not between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andPositionIdIsNull() {
            addCriterion("position_id is null");
            return (Criteria) this;
        }

        public Criteria andPositionIdIsNotNull() {
            addCriterion("position_id is not null");
            return (Criteria) this;
        }

        public Criteria andPositionIdEqualTo(Long value) {
            addCriterion("position_id =", value, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdNotEqualTo(Long value) {
            addCriterion("position_id <>", value, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdGreaterThan(Long value) {
            addCriterion("position_id >", value, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdGreaterThanOrEqualTo(Long value) {
            addCriterion("position_id >=", value, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdLessThan(Long value) {
            addCriterion("position_id <", value, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdLessThanOrEqualTo(Long value) {
            addCriterion("position_id <=", value, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdIn(List<Long> values) {
            addCriterion("position_id in", values, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdNotIn(List<Long> values) {
            addCriterion("position_id not in", values, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdBetween(Long value1, Long value2) {
            addCriterion("position_id between", value1, value2, "positionId");
            return (Criteria) this;
        }

        public Criteria andPositionIdNotBetween(Long value1, Long value2) {
            addCriterion("position_id not between", value1, value2, "positionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdIsNull() {
            addCriterion("role_permission_id is null");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdIsNotNull() {
            addCriterion("role_permission_id is not null");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdEqualTo(Integer value) {
            addCriterion("role_permission_id =", value, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdNotEqualTo(Integer value) {
            addCriterion("role_permission_id <>", value, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdGreaterThan(Integer value) {
            addCriterion("role_permission_id >", value, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("role_permission_id >=", value, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdLessThan(Integer value) {
            addCriterion("role_permission_id <", value, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdLessThanOrEqualTo(Integer value) {
            addCriterion("role_permission_id <=", value, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdIn(List<Integer> values) {
            addCriterion("role_permission_id in", values, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdNotIn(List<Integer> values) {
            addCriterion("role_permission_id not in", values, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdBetween(Integer value1, Integer value2) {
            addCriterion("role_permission_id between", value1, value2, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andRolePermissionIdNotBetween(Integer value1, Integer value2) {
            addCriterion("role_permission_id not between", value1, value2, "rolePermissionId");
            return (Criteria) this;
        }

        public Criteria andInfoIdIsNull() {
            addCriterion("info_id is null");
            return (Criteria) this;
        }

        public Criteria andInfoIdIsNotNull() {
            addCriterion("info_id is not null");
            return (Criteria) this;
        }

        public Criteria andInfoIdEqualTo(Long value) {
            addCriterion("info_id =", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdNotEqualTo(Long value) {
            addCriterion("info_id <>", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdGreaterThan(Long value) {
            addCriterion("info_id >", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdGreaterThanOrEqualTo(Long value) {
            addCriterion("info_id >=", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdLessThan(Long value) {
            addCriterion("info_id <", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdLessThanOrEqualTo(Long value) {
            addCriterion("info_id <=", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdIn(List<Long> values) {
            addCriterion("info_id in", values, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdNotIn(List<Long> values) {
            addCriterion("info_id not in", values, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdBetween(Long value1, Long value2) {
            addCriterion("info_id between", value1, value2, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdNotBetween(Long value1, Long value2) {
            addCriterion("info_id not between", value1, value2, "infoId");
            return (Criteria) this;
        }

        public Criteria andPnumIsNull() {
            addCriterion("pnum is null");
            return (Criteria) this;
        }

        public Criteria andPnumIsNotNull() {
            addCriterion("pnum is not null");
            return (Criteria) this;
        }

        public Criteria andPnumEqualTo(String value) {
            addCriterion("pnum =", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumNotEqualTo(String value) {
            addCriterion("pnum <>", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumGreaterThan(String value) {
            addCriterion("pnum >", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumGreaterThanOrEqualTo(String value) {
            addCriterion("pnum >=", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumLessThan(String value) {
            addCriterion("pnum <", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumLessThanOrEqualTo(String value) {
            addCriterion("pnum <=", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumLike(String value) {
            addCriterion("pnum like", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumNotLike(String value) {
            addCriterion("pnum not like", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumIn(List<String> values) {
            addCriterion("pnum in", values, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumNotIn(List<String> values) {
            addCriterion("pnum not in", values, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumBetween(String value1, String value2) {
            addCriterion("pnum between", value1, value2, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumNotBetween(String value1, String value2) {
            addCriterion("pnum not between", value1, value2, "pnum");
            return (Criteria) this;
        }

        public Criteria andCremark1IsNull() {
            addCriterion("cremark1 is null");
            return (Criteria) this;
        }

        public Criteria andCremark1IsNotNull() {
            addCriterion("cremark1 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark1EqualTo(String value) {
            addCriterion("cremark1 =", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotEqualTo(String value) {
            addCriterion("cremark1 <>", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1GreaterThan(String value) {
            addCriterion("cremark1 >", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1GreaterThanOrEqualTo(String value) {
            addCriterion("cremark1 >=", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1LessThan(String value) {
            addCriterion("cremark1 <", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1LessThanOrEqualTo(String value) {
            addCriterion("cremark1 <=", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1Like(String value) {
            addCriterion("cremark1 like", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotLike(String value) {
            addCriterion("cremark1 not like", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1In(List<String> values) {
            addCriterion("cremark1 in", values, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotIn(List<String> values) {
            addCriterion("cremark1 not in", values, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1Between(String value1, String value2) {
            addCriterion("cremark1 between", value1, value2, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotBetween(String value1, String value2) {
            addCriterion("cremark1 not between", value1, value2, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark2IsNull() {
            addCriterion("cremark2 is null");
            return (Criteria) this;
        }

        public Criteria andCremark2IsNotNull() {
            addCriterion("cremark2 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark2EqualTo(String value) {
            addCriterion("cremark2 =", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotEqualTo(String value) {
            addCriterion("cremark2 <>", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2GreaterThan(String value) {
            addCriterion("cremark2 >", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2GreaterThanOrEqualTo(String value) {
            addCriterion("cremark2 >=", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2LessThan(String value) {
            addCriterion("cremark2 <", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2LessThanOrEqualTo(String value) {
            addCriterion("cremark2 <=", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2Like(String value) {
            addCriterion("cremark2 like", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotLike(String value) {
            addCriterion("cremark2 not like", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2In(List<String> values) {
            addCriterion("cremark2 in", values, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotIn(List<String> values) {
            addCriterion("cremark2 not in", values, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2Between(String value1, String value2) {
            addCriterion("cremark2 between", value1, value2, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotBetween(String value1, String value2) {
            addCriterion("cremark2 not between", value1, value2, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark3IsNull() {
            addCriterion("cremark3 is null");
            return (Criteria) this;
        }

        public Criteria andCremark3IsNotNull() {
            addCriterion("cremark3 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark3EqualTo(String value) {
            addCriterion("cremark3 =", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotEqualTo(String value) {
            addCriterion("cremark3 <>", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3GreaterThan(String value) {
            addCriterion("cremark3 >", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3GreaterThanOrEqualTo(String value) {
            addCriterion("cremark3 >=", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3LessThan(String value) {
            addCriterion("cremark3 <", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3LessThanOrEqualTo(String value) {
            addCriterion("cremark3 <=", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3Like(String value) {
            addCriterion("cremark3 like", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotLike(String value) {
            addCriterion("cremark3 not like", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3In(List<String> values) {
            addCriterion("cremark3 in", values, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotIn(List<String> values) {
            addCriterion("cremark3 not in", values, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3Between(String value1, String value2) {
            addCriterion("cremark3 between", value1, value2, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotBetween(String value1, String value2) {
            addCriterion("cremark3 not between", value1, value2, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark4IsNull() {
            addCriterion("cremark4 is null");
            return (Criteria) this;
        }

        public Criteria andCremark4IsNotNull() {
            addCriterion("cremark4 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark4EqualTo(String value) {
            addCriterion("cremark4 =", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotEqualTo(String value) {
            addCriterion("cremark4 <>", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4GreaterThan(String value) {
            addCriterion("cremark4 >", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4GreaterThanOrEqualTo(String value) {
            addCriterion("cremark4 >=", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4LessThan(String value) {
            addCriterion("cremark4 <", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4LessThanOrEqualTo(String value) {
            addCriterion("cremark4 <=", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4Like(String value) {
            addCriterion("cremark4 like", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotLike(String value) {
            addCriterion("cremark4 not like", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4In(List<String> values) {
            addCriterion("cremark4 in", values, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotIn(List<String> values) {
            addCriterion("cremark4 not in", values, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4Between(String value1, String value2) {
            addCriterion("cremark4 between", value1, value2, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotBetween(String value1, String value2) {
            addCriterion("cremark4 not between", value1, value2, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark5IsNull() {
            addCriterion("cremark5 is null");
            return (Criteria) this;
        }

        public Criteria andCremark5IsNotNull() {
            addCriterion("cremark5 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark5EqualTo(String value) {
            addCriterion("cremark5 =", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotEqualTo(String value) {
            addCriterion("cremark5 <>", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5GreaterThan(String value) {
            addCriterion("cremark5 >", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5GreaterThanOrEqualTo(String value) {
            addCriterion("cremark5 >=", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5LessThan(String value) {
            addCriterion("cremark5 <", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5LessThanOrEqualTo(String value) {
            addCriterion("cremark5 <=", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5Like(String value) {
            addCriterion("cremark5 like", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotLike(String value) {
            addCriterion("cremark5 not like", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5In(List<String> values) {
            addCriterion("cremark5 in", values, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotIn(List<String> values) {
            addCriterion("cremark5 not in", values, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5Between(String value1, String value2) {
            addCriterion("cremark5 between", value1, value2, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotBetween(String value1, String value2) {
            addCriterion("cremark5 not between", value1, value2, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark6IsNull() {
            addCriterion("cremark6 is null");
            return (Criteria) this;
        }

        public Criteria andCremark6IsNotNull() {
            addCriterion("cremark6 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark6EqualTo(String value) {
            addCriterion("cremark6 =", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotEqualTo(String value) {
            addCriterion("cremark6 <>", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6GreaterThan(String value) {
            addCriterion("cremark6 >", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6GreaterThanOrEqualTo(String value) {
            addCriterion("cremark6 >=", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6LessThan(String value) {
            addCriterion("cremark6 <", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6LessThanOrEqualTo(String value) {
            addCriterion("cremark6 <=", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6Like(String value) {
            addCriterion("cremark6 like", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotLike(String value) {
            addCriterion("cremark6 not like", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6In(List<String> values) {
            addCriterion("cremark6 in", values, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotIn(List<String> values) {
            addCriterion("cremark6 not in", values, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6Between(String value1, String value2) {
            addCriterion("cremark6 between", value1, value2, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotBetween(String value1, String value2) {
            addCriterion("cremark6 not between", value1, value2, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark7IsNull() {
            addCriterion("cremark7 is null");
            return (Criteria) this;
        }

        public Criteria andCremark7IsNotNull() {
            addCriterion("cremark7 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark7EqualTo(String value) {
            addCriterion("cremark7 =", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7NotEqualTo(String value) {
            addCriterion("cremark7 <>", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7GreaterThan(String value) {
            addCriterion("cremark7 >", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7GreaterThanOrEqualTo(String value) {
            addCriterion("cremark7 >=", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7LessThan(String value) {
            addCriterion("cremark7 <", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7LessThanOrEqualTo(String value) {
            addCriterion("cremark7 <=", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7Like(String value) {
            addCriterion("cremark7 like", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7NotLike(String value) {
            addCriterion("cremark7 not like", value, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7In(List<String> values) {
            addCriterion("cremark7 in", values, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7NotIn(List<String> values) {
            addCriterion("cremark7 not in", values, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7Between(String value1, String value2) {
            addCriterion("cremark7 between", value1, value2, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark7NotBetween(String value1, String value2) {
            addCriterion("cremark7 not between", value1, value2, "cremark7");
            return (Criteria) this;
        }

        public Criteria andCremark8IsNull() {
            addCriterion("cremark8 is null");
            return (Criteria) this;
        }

        public Criteria andCremark8IsNotNull() {
            addCriterion("cremark8 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark8EqualTo(String value) {
            addCriterion("cremark8 =", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8NotEqualTo(String value) {
            addCriterion("cremark8 <>", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8GreaterThan(String value) {
            addCriterion("cremark8 >", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8GreaterThanOrEqualTo(String value) {
            addCriterion("cremark8 >=", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8LessThan(String value) {
            addCriterion("cremark8 <", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8LessThanOrEqualTo(String value) {
            addCriterion("cremark8 <=", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8Like(String value) {
            addCriterion("cremark8 like", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8NotLike(String value) {
            addCriterion("cremark8 not like", value, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8In(List<String> values) {
            addCriterion("cremark8 in", values, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8NotIn(List<String> values) {
            addCriterion("cremark8 not in", values, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8Between(String value1, String value2) {
            addCriterion("cremark8 between", value1, value2, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark8NotBetween(String value1, String value2) {
            addCriterion("cremark8 not between", value1, value2, "cremark8");
            return (Criteria) this;
        }

        public Criteria andCremark9IsNull() {
            addCriterion("cremark9 is null");
            return (Criteria) this;
        }

        public Criteria andCremark9IsNotNull() {
            addCriterion("cremark9 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark9EqualTo(String value) {
            addCriterion("cremark9 =", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9NotEqualTo(String value) {
            addCriterion("cremark9 <>", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9GreaterThan(String value) {
            addCriterion("cremark9 >", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9GreaterThanOrEqualTo(String value) {
            addCriterion("cremark9 >=", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9LessThan(String value) {
            addCriterion("cremark9 <", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9LessThanOrEqualTo(String value) {
            addCriterion("cremark9 <=", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9Like(String value) {
            addCriterion("cremark9 like", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9NotLike(String value) {
            addCriterion("cremark9 not like", value, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9In(List<String> values) {
            addCriterion("cremark9 in", values, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9NotIn(List<String> values) {
            addCriterion("cremark9 not in", values, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9Between(String value1, String value2) {
            addCriterion("cremark9 between", value1, value2, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark9NotBetween(String value1, String value2) {
            addCriterion("cremark9 not between", value1, value2, "cremark9");
            return (Criteria) this;
        }

        public Criteria andCremark10IsNull() {
            addCriterion("cremark10 is null");
            return (Criteria) this;
        }

        public Criteria andCremark10IsNotNull() {
            addCriterion("cremark10 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark10EqualTo(String value) {
            addCriterion("cremark10 =", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10NotEqualTo(String value) {
            addCriterion("cremark10 <>", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10GreaterThan(String value) {
            addCriterion("cremark10 >", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10GreaterThanOrEqualTo(String value) {
            addCriterion("cremark10 >=", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10LessThan(String value) {
            addCriterion("cremark10 <", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10LessThanOrEqualTo(String value) {
            addCriterion("cremark10 <=", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10Like(String value) {
            addCriterion("cremark10 like", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10NotLike(String value) {
            addCriterion("cremark10 not like", value, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10In(List<String> values) {
            addCriterion("cremark10 in", values, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10NotIn(List<String> values) {
            addCriterion("cremark10 not in", values, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10Between(String value1, String value2) {
            addCriterion("cremark10 between", value1, value2, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark10NotBetween(String value1, String value2) {
            addCriterion("cremark10 not between", value1, value2, "cremark10");
            return (Criteria) this;
        }

        public Criteria andCremark11IsNull() {
            addCriterion("cremark11 is null");
            return (Criteria) this;
        }

        public Criteria andCremark11IsNotNull() {
            addCriterion("cremark11 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark11EqualTo(String value) {
            addCriterion("cremark11 =", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11NotEqualTo(String value) {
            addCriterion("cremark11 <>", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11GreaterThan(String value) {
            addCriterion("cremark11 >", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11GreaterThanOrEqualTo(String value) {
            addCriterion("cremark11 >=", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11LessThan(String value) {
            addCriterion("cremark11 <", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11LessThanOrEqualTo(String value) {
            addCriterion("cremark11 <=", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11Like(String value) {
            addCriterion("cremark11 like", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11NotLike(String value) {
            addCriterion("cremark11 not like", value, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11In(List<String> values) {
            addCriterion("cremark11 in", values, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11NotIn(List<String> values) {
            addCriterion("cremark11 not in", values, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11Between(String value1, String value2) {
            addCriterion("cremark11 between", value1, value2, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark11NotBetween(String value1, String value2) {
            addCriterion("cremark11 not between", value1, value2, "cremark11");
            return (Criteria) this;
        }

        public Criteria andCremark12IsNull() {
            addCriterion("cremark12 is null");
            return (Criteria) this;
        }

        public Criteria andCremark12IsNotNull() {
            addCriterion("cremark12 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark12EqualTo(String value) {
            addCriterion("cremark12 =", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12NotEqualTo(String value) {
            addCriterion("cremark12 <>", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12GreaterThan(String value) {
            addCriterion("cremark12 >", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12GreaterThanOrEqualTo(String value) {
            addCriterion("cremark12 >=", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12LessThan(String value) {
            addCriterion("cremark12 <", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12LessThanOrEqualTo(String value) {
            addCriterion("cremark12 <=", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12Like(String value) {
            addCriterion("cremark12 like", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12NotLike(String value) {
            addCriterion("cremark12 not like", value, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12In(List<String> values) {
            addCriterion("cremark12 in", values, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12NotIn(List<String> values) {
            addCriterion("cremark12 not in", values, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12Between(String value1, String value2) {
            addCriterion("cremark12 between", value1, value2, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark12NotBetween(String value1, String value2) {
            addCriterion("cremark12 not between", value1, value2, "cremark12");
            return (Criteria) this;
        }

        public Criteria andCremark13IsNull() {
            addCriterion("cremark13 is null");
            return (Criteria) this;
        }

        public Criteria andCremark13IsNotNull() {
            addCriterion("cremark13 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark13EqualTo(String value) {
            addCriterion("cremark13 =", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13NotEqualTo(String value) {
            addCriterion("cremark13 <>", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13GreaterThan(String value) {
            addCriterion("cremark13 >", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13GreaterThanOrEqualTo(String value) {
            addCriterion("cremark13 >=", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13LessThan(String value) {
            addCriterion("cremark13 <", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13LessThanOrEqualTo(String value) {
            addCriterion("cremark13 <=", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13Like(String value) {
            addCriterion("cremark13 like", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13NotLike(String value) {
            addCriterion("cremark13 not like", value, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13In(List<String> values) {
            addCriterion("cremark13 in", values, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13NotIn(List<String> values) {
            addCriterion("cremark13 not in", values, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13Between(String value1, String value2) {
            addCriterion("cremark13 between", value1, value2, "cremark13");
            return (Criteria) this;
        }

        public Criteria andCremark13NotBetween(String value1, String value2) {
            addCriterion("cremark13 not between", value1, value2, "cremark13");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}